package DataBaseInterface;

import java.util.ArrayList;

import CustomerPO.CustomerPO;
import Po.IdCustomer;
import Po.ManagerCustomer;
import Po.Message;
import Po.RegisterCustomer;
import Po.SimpleCustomer;

public interface CustomerServerInterface {
	public SimpleCustomer customerLogin(String name,String password);
	public Message registerCustomer(RegisterCustomer customer);
	public Message hasCustomer(int id);
	public Message deleteCustomer(int ID);
	public ManagerCustomer getCustomer(int customerID);
	public ArrayList<IdCustomer> getAllCustomer();
	public int[] getRanks();
	public int[] getCustomerId(int rank);
	public Message updateCustomer(CustomerPO c);
}
